package com.woniuxy02;

/**
 * @author 作者
 * @create 2025-07-22 14:27
 */
public class Student {
    String name;
    int age;
    static String schoolName;

    public String showInfo(){
        return "name:"+name+",age:"+age+",schoolName:"+schoolName;
    }

    public static void testStatic01(){
        //testNotStatic01();
        Student student = new Student();
        student.testNotStatic01();
        System.out.println("testStatic01");
    }

    public static void testStatic02(){
        System.out.println("testStatic02");
    }

    public void testNotStatic01(){
//        this.testNotStatic02();
//        testStatic01();
        System.out.println("testNotStatic01");
    }

    public void testNotStatic02(){
        testStatic01();
        System.out.println("testNotStatic02");
    }

}
